package com.example.demo.程序员面试金典;

/**
 * @description: TODO
 * @author: zhangzc
 * @modified By: zhangzc
 * @date: Created in 2022/9/8 14:31
 * @version:v1.0
 */
public class 整数转换 {

	class Solution {
		public int convertInteger(int A, int B) {
			return Integer.bitCount(A ^ B);
		}
	}

}
